import { useState, createContext } from 'react';
import { ProTableContexteValue } from '../ProTableDynamic/utils/types';

// ProTable数据源
export const ProTableContext = createContext<ProTableContexteValue>({
  tableInfo: undefined,
  setTableInfo: function (proTableInfo: any): void {
    // throw new Error('Function not implemented.');
  },
  formInfo: undefined,
  setFormInfo: function (proFormInfo: any): void {
    // throw new Error('Function not implemented.');
  },
});
